from __future__ import division
def lexical_diversity(text):
	return len(text)/len(set(text))

def percentage(count, total):
	return 100*count/total
